package com.lx.pc.service.driving.impl;

import java.math.BigInteger;

import org.springframework.stereotype.Service;

import com.lx.pc.domain.entity.driving.DrivingEntity;
import com.lx.pc.domain.vo.driving.DrivingVo;
import com.lx.pc.mybatis.repository.driving.DrivingRepository;
import com.lx.pc.service.AbstractService;
import com.lx.pc.service.driving.IDrivingService;

@Service("drivingService")
public class DrivingServiceImpl extends AbstractService<DrivingEntity, DrivingVo, BigInteger, DrivingRepository> implements IDrivingService{

	@Override
	public DrivingVo findByDriving(DrivingVo v) {

		return etoV(repository.findByDriving(v));
	}

}
